package com.lbh.platforms.windows.structures.user;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

/***
 * project:JRuntime
 * package:com.lbh.platforms.windows.structures.user
 *
 * @author user:lenovo QQ:1601078366
 * @date 2021/10/18 22:41
 * @version V1.0
 */
@SuppressWarnings({"SpellCheckingInspection", "AlibabaClassNamingShouldBeCamel"})
public class WNDCLASSA extends Structure {
    public int style;
    public WNDPROC lpfnWndProc;
    public int cbClsExtra;
    public int cbWndExtra;
    public Pointer hInstance;
    public Pointer hIcon;
    public Pointer hCursor;
    public Pointer hbrBackground;
    public String lpszMenuName;
    public String lpszClassName;

    @Override
    protected List<String> getFieldOrder() {
        return Arrays.asList("style", "lpfnWndProc", "cbClsExtra", "cbWndExtra", "hInstance",
                "hIcon", "hCursor", "hbrBackground", "lpszMenuName", "lpszClassName");
    }
}
